import java.sql.Timestamp;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * Created by Black-Laptop on 7/11/2017.
 */
public class test {
    public static void main(String args[]) throws ParseException {
        String time = "20170711153700";
        SimpleDateFormat sdf = new SimpleDateFormat("yyyyMMddHHmmss");
        Date date = sdf.parse(time);
        System.out.println(date.getTime() / 1000);

        Object pto = 1234L;
        System.out.println();
    }
}
